package org.flashbrighton.as3bots.components
{
	public class HealthComponent implements IComponent
	{
		private var _energy:int;
		
		
		public function HealthComponent()
		{
			init();
		}
		
		
		public function get energy():int
		{
			return _energy;
		}
		
		
		public function set energy(val:int):void
		{
			 _energy = val;
		}
		
		
		private function init():void
		{
			_energy = 1000;
		}

	}
}